<!doctype html>
<html>
<head>
<#include "/part_meta.ftl">
<title>进货管理-迈小众</title>
<link href="${st.resDomain}/css/style.css" rel="stylesheet">
<link href="${st.resDomain}/css/form-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC.css" rel="stylesheet">
</head>

<body>
<!--- header --->
<div id="header">
  <div class="main f_clear">
  	<div class="logo"><h2><@shiro.principal property="s_name" /></h2><span>您好！<@shiro.principal property="m_name" />， <a href="${st.domain}/member/logoutDo">退出</a>&nbsp;&nbsp;&nbsp;[ <a href="${st.shopDomain}/localSale/v1.1" target="_blank">进行线下销售</a> ]</span></div>
    <div class="f_right"><a href="${st.userDomain}">个人中心</a> <a href="${st.shopDomain}" class="selected">店铺管理</a><@shiro.hasRole name="FIRM"><a href="${st.firmDomain}">企业管理</a></@shiro.hasRole></div>
  </div>
</div>
<!--- header end--->
<!--topnav -->
<div id="topnav">
  <div class="main">
    <ul class="left">      
      
      <li><a href="${st.shopDomain}/order/list?statuses=0">订单</a></li>
      <li class="selected"><a href="${st.shopDomain}/storeGoods/list">商品</a></li>
      <li><a href="${st.shopDomain}/memberVip">会员</a></li>      
      <li><a href="${st.shopDomain}/store/edit">店铺</a></li>      
      <li><a href="${st.shopDomain}/goodsReport">数据</a></li>
    </ul>
  </div>
</div>
<!--topnav end-->
<div id="main" class="f_clear">
  <div id="left">
    <ul id="menu1">
      <li><a href="${st.shopDomain}/storeGoods/list">店铺商品</a></li>
      <li><a href="${st.shopDomain}/store/onlineSetting">线上销售</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/goodsPromote/list?id.type=0">商品促销</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/storePromote/list?type=0">满额促销</a></li>
      <li><a href="${st.shopDomain}/store/localSetting">线下销售</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/goodsPromote/list?id.type=2">商品促销</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/storePromote/list?type=2">满额促销</a></li>
      
      <li style="margin-left:10px;"><a href="${st.shopDomain}/localSale/soft">离线版本</a></li>
      <li class="selected"><a href="${st.shopDomain}/storeRestock/list?isChecked=0">进货管理</a></li>
      <li><a href="${st.shopDomain}/storeGoods/add">商品入库</a></li>
    </ul>
  </div>
  <div id="right">
    <div id="title"><span class="f_right"><a id="printPickBt" href="#" class="btn2"><span id="print">打印</span></a><a href="${st.shopDomain}/storeRestock/addOrEdit" class="btn2" style="width:44px;text-align:center;">新建</a></span>商品管理 - 进货管理 - 进货单</div>
    <ul class="tab_menu">
      <li id="srStatus_0" <#if !(isChecked??) || !isChecked>class="selected"</#if>><a>未入库</a></li>
      <li id="srStatus_1" <#if isChecked>class="selected"</#if>><a>已入库</a></li>
    </ul>
    <div id="cxhd">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
        <tr>
          <th class="hh"><input name="selectAll" type="checkbox" >进货号</th>
          <th>添加人</th>
          <th>入库状态</th>
          <th>入库人</th>
          <th>入库时间</th>
          <th>操作</th>
        </tr>
        <#list list as sr>
        <tr id="srTr_${sr.restockId}"><!--默认class为空，选中展开详细增加selected -->
          <td class="hh"><input name="restockIds" type="checkbox" value="${sr.restockId}"><a href="javascript:;"  id="srA_${sr.restockId}">${sr.code}</a></td>
          <td>${sr.adder}</td>
          <td><#if !sr.isChecked>未入库<#else>已入库</#if></td>
          <td><#if sr.checker??>${sr.checker}<#else>-</#if></td>
          <td><#if (sr.checkTime > 0)>${sr.checkTime?number_to_datetime}<#else>-</#if></td>
          <td><#if !sr.isChecked><a id="restockBt_${sr.restockId}_${sr.code}">入库</a> | <a href="${st.shopDomain}/storeRestock/addOrEdit?restockId=${sr.restockId}">编辑</a> | <a id="delRestockBt_${sr.restockId}_${sr.code}">删除</a></#if></td>
        </tr>
        <tr style="display:none;"><td colspan=6>正在加载...</td></tr> 
        </#list>
      </table>
    </div>
    <div class="tabletj">
      <div id="page">
        ${pl.linkString}
      </div>
    </div>
  </div>
</div>
<!--footer-->
<div id="footer">Copyright© 迈小众 <span style="padding-left:30px;">客服QQ：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3101084438&site=qq&menu=yes" rel="nofollow"><img border="0" src="http://wpa.qq.com/pa?p=2:3101084438:50" alt="点击联系我们，QQ：3101084438" title="点击联系我们，QQ：3101084438"></a></span></div>
<!--footer end-->
<script data-main="${st.resDomain}/scripts/shop/storeRestock_list" src="${st.resDomain}/scripts/require.js"></script>
</body>
</html>
